Revert "Applied patch from ubuntu so this commits"
authorJohn Goerzen <jgoerzen@complete.org>
Thu, 17 Jul 2008 20:17:31 +0000 (15:17 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Thu, 17 Jul 2008 20:17:31 +0000 (15:17 -0500)
Going to use upstream patch instead

This reverts commit 0960c8402c70eaeeafdc750f54b7fc4ed12d1d6c.

lmx.c

diff --git a/lmx.c b/lmx.c
index 15625f2abd0ee495c7bbdbcbe56f4ecd25ae2d3b..5082a0cc06ddcceffe2e864c8653b00fe9520471 100644 (file)
--- a/lmx.c
+++ b/lmx.c
@@ -31,7 +31,7 @@
 
 static gbfile *ofd;
 static waypoint *wpt_tmp;
-char *linkNEW, *linkt;
+char *link, *linkt;
 
 #define MYNAME "lmx"
 
@@ -205,25 +205,25 @@ lmx_lm_desc(const char *args, const char **unused)
 static void
 lmx_lm_mlink_s(const char *args, const char **unused)
 {
-       linkNEW = linkt = NULL;
+       link = linkt = NULL;
 }
 
 static void
 lmx_lm_link(const char *args, const char **unused)
 {
-       linkNEW = xstrdup(args);
+       link = xstrdup(args);
 }
 
 static void
 lmx_lm_linkt(const char *args, const char **unused)
 {
-       linkNEW = xstrdup(args);
+       linkt = xstrdup(args);
 }
 
 static void
 lmx_lm_mlink_e(const char *args, const char **unused)
 {
-       waypt_add_url(wpt_tmp, linkNEW, linkt);
+       waypt_add_url(wpt_tmp, link, linkt);
 }